package top.lichuankai.wiki.service;

import org.springframework.stereotype.Service;
import top.lichuankai.wiki.domain.Demo;
import top.lichuankai.wiki.mapper.DemoMapper;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DemoService {
    @Resource
    DemoMapper demoMapper;
    public List<Demo> list(){
        return demoMapper.selectByExample(null);
    }
}
